/**
 * 
 */
package com.glela.common.exception;

/**
 * @author liujie
 *
 * 不合法的参数异常
 */
public class InvalidArgumentException extends BusinessException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public InvalidArgumentException(BusinessError businessError) {
		super(businessError, businessError.getCode()+": "+businessError.getText());
	}

	public InvalidArgumentException(BusinessError businessError, String message) {
		super(businessError, message);
	}

	public InvalidArgumentException(BusinessError businessError, String message, Throwable cause) {
		super(businessError, message, cause);
	}
}
